package org.gp.core.service;

import com.baomidou.mybatisplus.service.IService;
import org.gp.core.entity.Bill;
import org.gp.core.entity.dto.ResponseDTO;
import org.gp.core.entity.result.BarData;
import org.gp.core.entity.result.LineData;
import org.gp.core.entity.result.PieData;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author LuoLiang
 * @since 2017-02-27
 */
public interface IBillService extends IService<Bill> {
    /**
     * 统计用户的各种类型活动饼图数据
     *
     * @param userId
     * @return
     */
    ResponseDTO<List<PieData>> getPieChartData(Integer userId);

    ResponseDTO<BarData> getBarChartData(Integer userId);

    ResponseDTO<List<LineData>> getLineData(Integer userId);
}
